import request from '@/utils/requestChandao'

export default {
    //用户
    users(params) {
        return request({
            url: '/api.php/v1/users',
            method: 'get',
            params
        })
    },
    //产品
    products(params) {
        return request({
            url: '/api.php/v1/products',
            method: 'get',
            params
        })
    },
    //项目
    projects(params) {
        return request({
            url: '/api.php/v1/projects',
            method: 'get',
            params
        })
    },
    //获取项目阶段详情
    executions(id,params) {
        return request({
            url: `/api.php/v1/projects/${id}/executions`,
            method: 'get',
            params
        })
    },
    
}
